package com.tradeplus.hrm;

import java.util.HashMap;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;

import com.tradeplus.util.TPLController;

public class LeaveController extends TPLController {
	
    /**
     * Employee Leave List
     * 
     * @param request
     * @param response
     * @return
     * @throws Exception
     */
    public ModelAndView EmployeeLeaves(HttpServletRequest request, HttpServletResponse response) throws Exception {
        return new ModelAndView("hrm/employee_leaves", new HashMap());
    }

    /**
     * Casual or Medical
     * 
     * @param request
     * @param response
     * @return
     * @throws Exception
     */
    public ModelAndView EmployeeLeaveTypes(HttpServletRequest request, HttpServletResponse response) throws Exception {
        return new ModelAndView("hrm/employee_leave_types", new HashMap());
    }

    /**
     * Day off like Saturday and Sunday
     * 
     * @param request
     * @param response
     * @return
     * @throws Exception
     */
    public ModelAndView DayOff(HttpServletRequest request, HttpServletResponse response) throws Exception {
        return new ModelAndView("hrm/day_off", new HashMap());
    }

    /**
     * Specific Holidays like National day
     * 
     * @param request
     * @param response
     * @return
     * @throws Exception
     */
    public ModelAndView SpecificHolidays(HttpServletRequest request, HttpServletResponse response) throws Exception {
        return new ModelAndView("hrm/specific_holidays", new HashMap());
    }

    /**
     * Employee leave summary
     * 
     * @param request
     * @param response
     * @return
     * @throws Exception
     */
    public ModelAndView EmployeeLeaveSummary(HttpServletRequest request, HttpServletResponse response) throws Exception {
        return new ModelAndView("hrm/employee_leave_summary", new HashMap());
    }

    /**
     * Define leave type
     * 
     * @param request
     * @param response
     * @return
     * @throws Exception
     */
    public ModelAndView DefineLeaveType(HttpServletRequest request, HttpServletResponse response) throws Exception {
        return new ModelAndView("hrm/define_leave_type", new HashMap());
    }
}
